package com.hp.dao;

import com.hp.entity.Menus;
import com.hp.entity.MenusTreeVo;
import com.hp.entity.RoleMenusVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenusDao {
    public List<Menus> findAllByRoleId(int id);

    public Menus findAllByParent();

    public void deleteAllRoleMenus(int roleid);

    public void addRoleMenus(List<RoleMenusVo> roleMenusVos);

}
